home *** CD-ROM | disk | FTP | other *** search
- Path: library.erc.clarkson.edu!rpi!not-for-mail
- From: floydb1@lib104.its.rpi.edu (Barry B Floyd)
- Newsgroups: comp.lang.c++
- Subject: Re: COOL: Something you can do in "C" you can NOT do in "C++"
- Date: 12 Mar 1996 12:49:13 -0500
- Organization: Rensselaer Polytechnic Institute, Troy, NY.
- Distribution: na
- Message-ID: <4i4dep$bo1@lib104.its.rpi.edu>
- References: <4hpov3$krb@qualcomm.com> <4i3123$etb@clarknet.clark.net>
- NNTP-Posting-Host: lib104.its.rpi.edu
- X-newsreader: xrn 7.04-beta-11
-
-
- In article <4i3123$etb@clarknet.clark.net>, gusty@clark.net (Harlan Messinger) writes:
- |> Frank Merrow (fmerrow@wizard.qualcomm.com) wrote:
- |> : Hi,
- |> :
- |> : I am teaching myself C++, but my interest in the language just dropped.
- |> : I want to read cin as a binary file and output cout the same as well. I read
- |> : the FAQs on C++ and guess what YOU CAN'T DO IT.
- |> :
- |>
- |> Seeing as how C doesn't even _have_ cin or cout, I don't understand your
- |> point.
-
-
- Seems the point concerns 'binary' not 'cin/cout'. 'binary' i/o seems
- to be system-specific. I vaguely recall reading something about
- CR/LF interpretation on UNIX systems, where the CR/LF was not converted
- in 'binary' i/o. Under MS-DOS 'binary' is something else.
-
- Saying "YOU CAN'T DO IT," as I'm sure you realize, is an over
- simplification of the matter. A little more searching and reading
- of the Draft Standard would go a long way (for both of us...).
-
- 2 cents
-
- barry
-
-
- <UL>
- <li><A HREF="http://reality.sgi.com/employees/austern_mti/std-c++/faq.html"
- >C++ std: Draft Standard FAQ</A>
- <li><A HREF="http://www-leland.stanford.edu/~iburrell/cpp/std.html"
- >C++ std: Draft Standard</A>
- <li><A HREF="http://www.cygnus.com/misc/wp/draft/"
- >C++ std: Draft Standard April '95 Working Paper</A>
- </ul>
- --
- +--------------------------------------------------------------------+
- | Barry B. Floyd \\\ floydb1@rpi.edu |
- | RPI Alum. '84 '87 '88 \\\ |
- +--------------------------------------------------------------------+
-